<?php

namespace app\api\controller;

use app\common\controller\BaseApi;
use app\common\models\FinanceLog;

class Crontab extends BaseApi
{
    // apiKey: md5('kdboxapikey2023')
    protected $apiKey = 'c62e66aedf3c66538abc7e79c2aa61db';
    public function financeLog()
    {
        $this->verifyParam('api_key', 'get');
        if (!empty($this->data['api_key'])){
            $finance_log = new FinanceLog();
            $finance_log->insetLog();
        }
    }
}